﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace Weazel.Toad.Application.Actions
{
  public class RestartSimulationAction : ActionBase
  {
    public RestartSimulationAction()
    {
      Enabled = false;

      Application.Instance.SelectedItemChanged += 
        new EventHandler<SelectedItemChangedEventArgs>(Instance_SelectedItemChanged);
    }

    public override void Execute(object sender, EventArgs e)
    {    
    }

    void Instance_SelectedItemChanged(object sender, SelectedItemChangedEventArgs e)
    {
      // Enabled = e.SelectedItem is Items.GezelTextFile ? true : false;
    }
  }
}
